lua: give more specific errors for "unknown modifiable property"