def METHOD_NAME(self):
    """Returns the single namespace bound to this name.
    Raises ValueError if the name is bound to multiple namespaces.
    """
    if len(self.__namespaces) != 1:
        raise ValueError, "name is bound to multiple namespaces"
    return self.__namespaces[0]