'Return a case-insensitive hash of the name.
@rtype: int'

def __hash__(self):

    h = 0L
    for label in self.labels:
        for c in label:
            h += ((h << 3) + ord(c.lower()))
    return int((h % sys.maxint))
