translation of encoded ids in messages