Makes resolving a constant in a given namespace easy.