added id attribute to trait search element