'Returns a unique deterministic base32-encoded ID for the course.
The optional padding_char parameter allows you to override the "=" character used for padding.'

def clean_id(self, padding_char='='):

    return course_metadata_utils.clean_course_key(self.location.course_key, padding_char)
