throw an exception for attempting to add an already existing variable to
the current scope