Use an hash for accessing levels vs const_get

Avoids converting the symbol to an up-cased string and may be safer.