Broken. Started extracting the name clash checking from the scope manager.