@classmethod
def register(cls, name, value=None):
    """Register a identifier"""
    local_value = cls._identifiers.get(name, None)
    if local_value is None:
        local_value = cls.new(name, value)
    elif value is not None:
        assert value == local_value
    return local_value
