The possibility that the human brain has a brain inside that observes the other brain, leading to an internalized self-perception, which then became the building block for social interaction and perception of other "selves".
What would an aritificial intelligence program look like that had one segment that did nothing but notice what the other segment was doing, one segment building a conception of reality only through the observation of the other segment?