Renamed get_ids() to get_align_ids() and created get_tensor_ids().
This is to allow the retrieval of either tensor or alignment IDs separately.
Authored by: bugman 2012-07-25
Parent: [r17314]
Child: [r17316]