'Return a component of the identity when accessed as an attribute.'

def __getattr__(self, attr):

    if (attr not in self.FIELDS):
        raise AttributeError((_('Unknown    attribute    "%s"') % attr))
    return self.identity[attr]
