def METHOD_NAME(self):
    if self.user:
        return 'Personal I-D list of %s' % self.user.username
    elif self.group:
        return 'I-D list for %s' % self.group.name
    else:
        return 'I-D list'