Aliens, citizens and residents in a changing world