Change transient_detail header numbering to relate to dataset.

Database wide id numbers can be somewhat confusing.
Merge pull request #22 from timstaley/transient-detail-hdr

Change transient_detail header numbering to relate to dataset.