To make it easier to customize attribute comparison (#435), add the ``attr.cmp_with()`` helper.