code: def get_suffix(id, regex="-[A-Z]{1}[0-9]{1,2}$"):
      
      parts = re.findall(regex, id)
      if not parts:
          return ""
      return parts[0]
docs: Get the suffix of the ID, e.g. '-R01' or '-P05'
  
      The current regex determines a pattern of a single uppercase character with
      at most 2 numbers following at the end of the ID as the suffix.