Add id to TestResult, Minor, CourseResult outputs