concatenate duplicate attributes in tag definitions