Add chaId plugin

Conveniently compare objects (and lists of objects) by id.