I used ogr2ogr to convert from osm data (pbf) to spatialite :
ogr2ogr -progress -f SQLite -dsco spatialite=yes france.simple.spatialite france-latest.osm.pbf
then, a large part of the imported data misses osm_id
spatialite> select count(*) from multipolygons;
42287946
spatialite> select count(*) from multipolygons where osm_id is null;
42153385
any ideas why, and how to fix this ?