This code (looking for matching new IDs to restore by name) is called from `set_app_data` after a .blend file has been read (also in memfile undo case). The part handling VSE clipboard to restore ID pointers is not really needed, since pasting VSE strips already ensures stored ID pointers are still valid, and tries to find a new matching one otherwise.