Create conditions with unique ID field