Prefix enum values, add dogma_get_location_attribute().
Improve the bruteforce test (and fix the bugs it revealed).