This idea has been suggested already, for example here.
I think it is not specifically related to nesting, so much as just the fact that some cities have multiple (not contiguous) streets with the same name, sometimes because cities have subsumed surrounding ones. James has mentioned that it is an unsolved technical challenge to get the perfect query that correctly identifies these.