Tweak definition of consym.
Rewrite modid-grammar to avoid empty modules for qualified names.