check for name clashes in the scope object. happens during post_parse but better late than never.