Added the ability for errors to identify the sub-program they're found in, related to #137