added simple capture of trait/method/attribute names