Sensible naming; using map-based parent and child detection