Ah, yea - there is name and display_name - at least in the Ruby API. name is the unique one that should be used to refer to materials. display_name should be used only to display the material name to the UI.
However, it appear that the C API doesn't quite do that. Let me have a chat with the rest of the team.