@staticmethod
def _to_id(id_):
    """Converts the argument to a object suitable as an identifier.

        :return: a hashable object
        """
    return tuple(id_) if isinstance(id_, list) else id_
