Set correct id generation strategy