Distinctly remember reading in one of the wiki’s a recommendation to put names of the road, when sidewalks / cycleways are mapped separately on those ways as this made naming those in specific targetted routers easier and been doing that ever since…‘Yes they can’, but it takes much more computing effort’ was the word in that wiki.
Ah yes, the sidewalk wiki
A drawback of this approach is that acquiring a name of the associated street in an automated way is challenging. Some mappers therefore add name=* or street:name=* tags copying the name of the street to separately mapped sidewalks.