Allows to merge on a custom entity key instead of primary key