Change transient_detail header numbering to relate to dataset.

Database wide id numbers can be somewhat confusing.