code: def resolver(self, vocab_data, attribute):
          
          term_list = vocab_data.get(self.content_vocab, [])
          # Loop through the terms from the vocabulary.
          for term_dict in term_list:
              # Match the name to the current content.
              if term_dict['name'] == self.content:
                  return term_dict[attribute]
          return self.content
docs: Pull the requested attribute based on the given vocabulary
          and content.