FIX: dictionary.defineTag should store tags under the normalised name.
FIX: dictionary.isNamespace should do the lookup under the normalised name