Improve disallowed-attribute errors

**Resolves #441.**

This pull request improves both the CLI and the UI error messages that result when you try to specify a non-existent or forbidden attribute.