Support Decimal ids.
Bug fix: create db before loading.