Converts namespace to display name and vice versa.