def get_assessment_part_id(self):
if not self.has_parent_part():<EOL><INDENT>raise errors.IllegalState('<STR_LIT>')<EOL><DEDENT>return Id(self._my_map['<STR_LIT>'])<EOL>
Gets the parent assessment ``Id``.

        return: (osid.id.Id) - ``Id`` of an assessment
        raise:  IllegalState - ``has_parent_part()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*