add -n/--negateIds option for use with osmosis --write-apidb