def delete(self):
magic_identifier = unquote(self.get_id().identifier)<EOL>orig_identifier = magic_identifier.split('<STR_LIT:?>')[<NUM_LIT:0>]<EOL>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self.my_osid_object._runtime)<EOL>collection.delete_one({'<STR_LIT>': ObjectId(orig_identifier)})<EOL>
need this because the JSONClientValidated cannot deal with the magic identifier