Fixes #255 : migration script nip to id