Introduction
Sometimes you want to know the number behind a named value, like a color or a day. This helps when you want to store or compare these values easily.
You have a list of named options and want to save their numbers in a file.
You want to compare two named values by their numbers.
You need to send a named value over the network as a number.
You want to print the number behind a named value for debugging.