Add an option to provide better error messages

This is not the default as it breaks things like $.eq 42 in the presence of
twigils starting with "$.".