fix #TANAL-25: if both a namespace and a class exist with the same name, consider the namespace