Detecting each of up to 16 different things

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

An idea that I might consider. Where does one get RFID tags from and can they be programmed?