Added QualifiedIdentifier. Changed case for terminals.