Changing IDs to reflect diagram rather than text.