Index configuration by name

Indexing the configuration tuple using global constants rather than inline
numeric literals is more robust.