I am not familiar with CompactLogix so please forgive me if I am talking nonsense, but it has been my experience that the ID is not relevant for Modbus TCP. It has use in serial modbus communication, where multiple modbus slaves can be "listening" on the same serial connection. Think RS485 which is not a point to point protocol: there can be multiple devices on a single RS485 bus. In such cases the modbus master must make clear for which client a call is intended, hence the ID in the modbus protocol.
No such need on Modbus TCP: the IP address already takes care of getting the message across to the slave.