A filter primitive that translates between enumerations (actually integers) and their external representations.