code: def decode_Identification(data):
      
      header_len = struct.calcsize('!HHBH')
      msgtype, msglen, idtype, bytecount = struct.unpack(
          '!HHBH', data[:header_len])
      ret = {}
  
      idtypes = ['MAC Address', 'EPC']
      try:
          ret['IDType'] = idtypes[idtype]
      except IndexError:
          return {'IDType': b''}, data[msglen:]
  
      # the remainder is ID value
      ret['ReaderID'] = data[header_len:(header_len+bytecount)]
  
      return ret, data[msglen:]
docs: Identification parameter (LLRP 1.1 Section 13.2.2)