What is a territory? Comparative federalism and state formation in North America