Compiler: Split idents into qualified and unqualified. This makes the grammar somewhat cleaner by reducing code duplication.