why did northern ireland, scotland, and Wales gain their own legislatures?