code: def attr_name(self):
          "Returns attribute name for this facet"
          return self.schema.name if self.schema else self.field.namf attr_name(self):
          "Returns attribute name for this facet"
          return self.schema.name if self.schema else self.field.name
docs: Returns attribute name for this facet