add id for each instruction