Merge cell names when merging cells (Fixes #1929)