code: def remove_model_prefix(self, id):
          '''remove_model_prefix
  
          High-level api: If prefix is the model prefix, return tagname without
          prefix. If prefix is not the model prefix, simply return the identifier
          without modification.
  
          Parameters
          ----------
  
          id : `str`
              Identifier in `prefix:tagname` notation.
  
          Returns
          -------
  
          str
              Identifier in `prefix:tagname` notation if prefix is not the model
              prefix. Or identifier in `tagname` notation if prefix is the model
              prefix.
          '''
  
          reg_str = '^' + self.prefix + ':(.+)$'
          ret = re.search(reg_str, id)
          if ret:
              return ret.group(1)
          else:
              return if remove_model_prefix(self, id):
          '''remove_model_prefix
  
          High-level api: If prefix is the model prefix, return tagname without
          prefix. If prefix is not the model prefix, simply return the identifier
          without modification.
  
          Parameters
          ----------
  
          id : `str`
              Identifier in `prefix:tagname` notation.
  
          Returns
          -------
  
          str
              Identifier in `prefix:tagname` notation if prefix is not the model
              prefix. Or identifier in `tagname` notation if prefix is the model
              prefix.
          '''
  
          reg_str = '^' + self.prefix + ':(.+)$'
          ret = re.search(reg_str, id)
          if ret:
              return ret.group(1)
          else:
              return id
docs: remove_model_prefix
  
          High-level api: If prefix is the model prefix, return tagname without
          prefix. If prefix is not the model prefix, simply return the identifier
          without modification.
  
          Parameters
          ----------
  
          id : `str`
              Identifier in `prefix:tagname` notation.
  
          Returns
          -------
  
          str
              Identifier in `prefix:tagname` notation if prefix is not the model
              prefix. Or identifier in `tagname` notation if prefix is the model
              prefix.