code: def format_item(self, item):
          "Construct result dictionary for the match item."
          result = {
              'id': self.get_item_id(item),
              'value': self.get_item_value(item),
              'label': self.get_item_label(item),
          }
          for key in settings.SELECTABLE_ESCAPED_KEYS:
              if key in result:
                  result[key] = conditional_escape(result[key])
          return resulf format_item(self, item):
          "Construct result dictionary for the match item."
          result = {
              'id': self.get_item_id(item),
              'value': self.get_item_value(item),
              'label': self.get_item_label(item),
          }
          for key in settings.SELECTABLE_ESCAPED_KEYS:
              if key in result:
                  result[key] = conditional_escape(result[key])
          return result
docs: Construct result dictionary for the match item.