scope of constants in nested class vs. namespaced class