getUid for REST BaseHandler