Gets the Ids of any assessments associated with this activity.

        return: (osid.id.IdList) - list of assessment Ids
        raise:  IllegalState - is_assessment_based_activity() is false
        compliance: mandatory - This method must be implemented.

def get_assessment_ids(self):
        """Gets the Ids of any assessments associated with this activity.

        return: (osid.id.IdList) - list of assessment Ids
        raise:  IllegalState - is_assessment_based_activity() is false
        compliance: mandatory - This method must be implemented.

        """
        if not self.is_assessment_based_activity():
            raise IllegalState()
        else:
            return [Id(a) for a in self._my_map['assessmentIds']]