added translation id query api (re #325)