[#2144] Improve AbstractField.equals() and AbstractTable.equals()
and similar, as these two are called very often