if an id strategy is set, the add method now actually replaces elements; also the remove method now uses the id strategy