Added exception on reading/writing non-existent fields

Uncategorized

In order to increase the quality of scripting, exceptions are thrown when a script wants to:
– read a non-existent field
– write to a non-existent field

This functionality is behind a feature flag.