add error reporting on duplicate qualified names