Environment and identity in later life: a cross-setting study