def get_name(ref):
        """
        Given a user key ``reference``, this method returns the name of the key.

        :param ref: Reference to user key.
        :type ref: ``str``

        :rtype: ``str``
        """
        try:
            return ref.split(USER_SEPARATOR, 1)[1]
        except (IndexError, AttributeError):
            raise InvalidUserKeyReferenceError(ref=ref)

        Given a user key ``reference``, this method returns the name of the key.

        :param ref: Reference to user key.
        :type ref: ``str``

        :rtype: ``str``
        
st2common/st2common/models/system/keyvalue.py