tpmatrix_id function

Transition probability matrix IDs