private function _cleanup_imported_ids() { // loop over all attachments and assign the correct post ids to those attachments. }