Children's mental representation of referential relations