Following quick and dirty patch provide access to svg-element ‘id’ property from Drawable::getName method.
http://juce.aminche.com/DrawableName.patch
http://juce.aminche.com/DrawableName.patch.txt
Accessing to id property allows the code to perform named picking/hit on a drawable tree, which sounds very usefull !
Hope it will get included