code: def add_name_variant(self, name):
          
          self._ensure_field('name', {})
          self.obj['name'].setdefault('name_variants', []).append(name)
docs: Add name variant.
  
          Args:
              :param name: name variant for the current author.
              :type name: string