Translate ids.