Set the location hash when a namespace is selected