Added ids to the steps, in preparation for selecting previous steps.