Should just be `self.course.id.to_deprecated_string()`.