Begin merge of id2name functions. New function added in place until implementation.