Improve exception message on reference to nonexistent parameter or column (issue #27)