set unique_id when creating import records, fix tournament_spec