Improve parser error messages
Add levenshtein distance method
Improve identifier resolution error messages