code: def rev_reg_id2cred_def_id__tag(rr_id: str) -> (str, str):
      
  
      return (
          ':'.join(rr_id.split(':')[2:-2]),  # rev reg id comprises (prefixes):<cred_def_id>:(suffixes)
          str(rr_id.split(':')[-1])  # tag is last token
      )
docs: Given a revocation registry identifier, return its corresponding credential definition identifier and
      (stringified int) tag.
  
      :param rr_id: revocation registry identifier
      :return: credential definition identifier and tag