Add tesseract.attrs/build-attrs, a pure fn to build attrs
Build attrs when toString'ing components