We munge the application id the same way as it's done for notifications so these can eventually move into the same schema.
On 32-bit platforms lu doesn't apply since GType is defined as a gsize fixes #15
Signed-off-by: Guido Günther <agx@sigxcpu.org>