featureclick event does not work with named graphic (graphicName)

See http://gis.stackexchange.com/questions/81776/openlayers-featureclick-event-does-not-work-with-named-graphic-graphicname for a description of this issue.