Metaprogramming magic

Just noticed there was a lot of repetition in `LocalAuthorityFinder`, so have tidied this up to be a bit more DRY