There are cases where it would be better to ignore the name and only use the ref

http://map.project-osrm.org/?z=15¢er=38.868532%2C-77.056947&loc=38.877670%2C-77.040553&loc=38.868248%2C-77.048450&hl=en&alt=0
There are cases where it would be better to ignore the ref and only use the name

http://map.project-osrm.org/?z=16¢er=52.518304%2C13.445184&loc=52.517331%2C13.453681&loc=52.522501%2C13.450441&hl=en&alt=0
Doing this is a hard problem, since it requires local knowledge. I do not know how we'd solve this.