You could use numbers and then use enumerations to give those numbers names. Then you refer by name and the compiler converts to number at runtime.