Determining the electoral district and polling station