'Return the display_identifier if set, else return the claimed_id.'

def getDisplayIdentifier(self):

    if (self.display_identifier is not None):
        return self.display_identifier
    if (self.claimed_id is None):
        return None
    else:
        return urlparse.urldefrag(self.claimed_id)[0]
