Swapped composite keys for surrogate keys