Quoting variable names when undefined identifiers are found