Adding attributes to the new <a> tags in id based searches