'Fill in domain_id if not specified in a v3 call.'

def _normalize_domain_id(self, request, ref):

    if (not ref.get('domain_id')):
        ref['domain_id'] = self._get_domain_id_from_token(request)
    return ref
