_UniqueVarNameGenerator: Fix O(n**2) behavior by keeping track of the Closes #25 See merge request !111