Detecting each of up to 16 different things

RFID tag on each train and a reader at the track?