Can't be sure without a picture, but it sounds like you have a personal ID tag made on a machine called a metal typer. You put money in the machine, then dial the individual letters and pull a lever to produce the tag. These machines were quite common in railroad and bus stations at one time and sometimes used to produce ID tags for luggage.