code: def _resolve_attribute_match(self, match):
          
          if match.group(1) == 'cluster':
              return str(self.cluster_id)
  
          return self.get(match.group(1), match.group(0))
docs: Replaces a reference to an attribute with the value of the attribute.
  
          Args:
              match (re.match object): A match object containing a match to a reference to an attribute.