merge: Support for merge by ID