Returns the integer corresponding to the given class name. The integer is used with functions like level. The mapping is as follows: