s3:idmap_tdb: add idmap domain arg to idmap_tdb_upgrade and use domain range