When this function is called after an error, it looks for the error message of missing value and returns the name of the mistype if it is found.
getMissingVariable()