code: def set_name(self, name, kind_attr=None):
          
          self.name = name
          self.kind_attr = kind_attr or "{name}_kind".format(name=name)
          if self.cname is None:
              self.cname = name
  
          return self
docs: set the name of this indexer