Supply slugs

Now that whitehall is including slugs as part of the search data being posted into the index, we can look things up in the registries via slug rather than the workaround of assumed knowledge about the structure of links.