Do not allow duplicate scripted fields to be added

Closes #2158
Probably a good idea to quote the field name here