Trying to get arduino to react to data other than tag serial number

Grumpy_Mike:

if( id[0]==0x4 && id[1]==0x08 && id[2]==0x7A && id[3]==0xFE &&

id[4]==0x4 && id[5]==0x04 && id[6]==0x15 && id[7]==0x45)

I suppose this should work (not sure about the null termination part):

char targetUID[9] = {0x04, 0x08, 0x7A, 0xFE, 0x04, 0x04, 0x15, 0x45, 0x00};

id[8] = 0; // Null terminate the string - to ignore whatever else is in there.
if (strcmp(id, targetUID) == 0) {
  // We have a match!
}