code: def strip_suffix(id):
      
      suffix = get_suffix(id)
      if not suffix:
          return id
      return re.split(suffix, id)[0]
docs: Split off any suffix from ID
  
      This mimics the old behavior of the Sample ID.