Fix location_spec

The problem was that the supplied ID was just overwriting the locale
value. To fix this, a hash is provided instead.