def scope_context(self):
        """
        Context for this ExportRequest, assume that only one identifier for
        partner/course/group is defined.
        """
        if self._course_id:
            return 'COURSE'
        elif self._partner_id:
            return 'PARTNER'
        elif self._group_id:
            return 'GROUP'
        else:
            return None