Building a Flexible Sense of Self