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

There are readers that can do a longer distance than that. Warehousing folks at a company I worked at were testing an expensive reader (supply your own smartphone too!) that could do up to 50m.

It's also common to have marathon runners use tags that they tie to their shoes. I've always assumed that the tech was RFID and therefore readable at 20m or more I would expect.