adds NameError prompt for cases where users merely reference a variable they're supposed to assign