I've heard the term 'mechanical sympathy' for the ability to write efficient code due to understanding how a CPU works.
Is there a legacy software equivalent? 'Architecture sympathy', where you've worked out the structure that the author intended and things begin to make sense?