Psychology says children who pretend to be teachers, doctors or parents while playing may be revealing how they understand the adult world