Geometry ID Node (Idea)

Hello
Geometry ID node: the idea is a new node on geometry nodes take geometry input, then use it in shader editor as a mask to give it a material, this way we will be able to give the specific parts a specific material like if I someone build a home generator and use that ID thing or whatever it will be, he is able to give it the textures and make Full procedural cities
If you like this idea give it upvote , Thanks