type is unique for a course, id is unique for a piece of content.