Hi,
first a small part of RFC791 (Internet Protocol):
__________________________________________________
The internet fragmentation and reassembly procedure needs to be able to break a datagram into an almost arbitrary number of pieces that can be later reassembled. The receiver of the fragments uses the identification field to ensure that fragments of different datagrams are not mixed. The fragment offset field tells the receiver the
position of a fragment in the original datagram. The fragment offset and length determine the portion of the original datagram covered by this fragment. The more-fragments flag indicates (by being reset) the last fragment. These fields provide sufficient
information to reassemble datagrams.
The identification field is used to distinguish the fragments of one datagram from those of another. The originating protocol module of an internet datagram sets the identification field to a value that must be unique for that source-destination pair and protocol for the
time the datagram will be active in the internet system. The originating protocol module of a complete datagram sets the more-fragments flag to zero and the fragment offset to zero.
_________________________________________________________
So, the ID field is a more or less random number that is used by IP to reasamble fragments. It is very difficult and dangerous to use this to look for missing frames.
I don't know wich transport layer protocols you are using, but in case of TCP, i would use the Sequense numbering to figure out if any pakcets are lost (and retransmitted).
If you have a sniffer pro, the expert will tell you (somethimes, not always) wich packets on TCP or UDP level are retransmitted. So, this will save you a lot of search work.
Regards,
Robert