code: def _set_id(infos):
      '''
      ID compatibility hack
  
      return: dict
      '''
      if infos:
          cid = None
          if infos.get("Id"): cid = infos["Id"]
          elif infos.get("ID"): cid = infos["ID"]
          elif infos.get("id"): cid = infos["id"]
          if "Id" not in infos:
              infos["Id"] = cid
          infos.pop("id",None)
          infos.pop("ID",None)
      return infof _set_id(infos):
      '''
      ID compatibility hack
  
      return: dict
      '''
      if infos:
          cid = None
          if infos.get("Id"): cid = infos["Id"]
          elif infos.get("ID"): cid = infos["ID"]
          elif infos.get("id"): cid = infos["id"]
          if "Id" not in infos:
              infos["Id"] = cid
          infos.pop("id",None)
          infos.pop("ID",None)
      return infos
docs: ID compatibility hack
  
      return: dict