def _parse_name(name):
    """Returns a pair namespace, name
    parsing string like namespace/name.

    Namespace could be None if there is not backslash in the name.
    """
    if '/' in name:
        return name.split('/', 1)
    return None, name