To keep it simplified.
If you want to swap the engines, leave everything that is bolted to the engine on it. If it is rear end damaged, just swap the K-frames including the wiring harness. There are differences on the engine side.
Otherwise, it is easy enough for the mechanic to see when the cars are side by side. Any mechanic that is competent should be able to sort it out for themselves.