Actually, why not use:

    kwargs.pop('_persistence_id', None)