@classmethod
    def get_name(cls, ref):
        try:
            if not cls.is_reference(ref):
                raise ValueError('%s is not a valid reference.' % ref)

            return ref.split(cls.separator, 1)[1]
        except (__HOLE__, IndexError, AttributeError):
            raise common_models.InvalidReferenceError(ref=ref)
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/models/db/policy.py/PolicyTypeReference.get_name