added functions like get_tsn_ to get all ids data #237
added get_ids_ fxn to get all ids data closes #237