'Returns the Solitude public_id for this app if set
otherwise creates one'

@account_check
def get_or_create_public_id(self, app):

    if (app.solitude_public_id is None):
        app.solitude_public_id = get_uuid('public')
        app.save()
    return app.solitude_public_id
