The efficient identification of relativistic particles by transition radiation