smarter attrs in domify