Add new scope name for configuration

@nedbat @cpennington This is the work on adding a named scope for configuration.
Also, design wise, it might be better to have the class just take a `routing_key` function, rather than requiring subclassing every time you have a new key.