Structure of Children’s Reasoning About Attributes of School Success and Failure