code: def names(self):
          
          if getattr(self, 'key', None) is None:
              result = []
          else:
              result = [self.key]
          if hasattr(self, 'aliases'):
              result.extend(self.aliases)
          return result
docs: Names, by which the instance can be retrieved.