There's the mongo id which is {tag, org, course, name, revision} (maybe some other stuff), the course id which is just org/course/offering, and then also the id for elasticsearch, which is a hash of the mongo id since it needs to be a url-compatible string.