Do variable name generation right and prevent all possible name clashes