Tying data to variables so as to not write lots of if statements

Oh! I'm sorry for being unclear. I haven't written that part of the code yet. I am adapting the code from a sketch I wrote a while back to time sprinting races using a laser gate. For this project I am using an RFID system to identify runners specifically. I'll print data in the serial monitor and I want to print the place, then the person's name, then the person's time (something like 1. John Smith, 15:34.23). I don't want to have to write an if statement for every tag (like if the serial number is XYZ, print this person's name). To be clear, I have not written this portion of the sketch yet. My apologies for not being very clear!