make ModeIndex_Name2Type a defaultdict

this enables tests that create ROSpecs w/o parsing capabilities