I am not sure if I am understanding your question.
If ID to name mapping is unique, you can use name in the place of ID.
If the mapping is not unique and if ID field has only numeric values, you can define ID as dual field with numeric value as the number representation and name as text representation. Use number representation in chart expressions and text represenation in display.
I may be able to help you better, if you are more specific.