Add new scope name for configuration

@nedbat @cpennington This is the work on adding a named scope for configuration.
Don't raise a class, raise an instantiated exception: `raise BadFieldDataComponent()`).