Rejigged course and group pre-enrolments to reuse IdentityLookup