constructor. * Check that all instruction ids are unique on kernel creation. * Add a uniquify_instruction_ids() transform. This closes #89.