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

def __getattr__(self, attr):

    if (attr == self.RESOURCE_NAME):
        return getattr(self.resource(), attr)
    if (attr == self.EVENT_ID):
        return self._path_components()[(-1)]
    return HeatIdentifier.__getattr__(self, attr)
