I know C++'s static dictionaries are a pain to create but they would save you the ugly linear check in the iso loader.