Caring about how good of an engineer you are is just an exercise of narcissism anyways. The best engineers probably focus more on the external world and their projects than on themselves.
Generally when discussing impostor syndrome, one of the major fears is of being "found out", and in the case of engineering, "fired in disgrace and drummed out of the field, never to have a job in it again". That's not narcissism. It's a legitimate fear. It may not be a fear grounded in reality, but it's a legitimate fear.
I would argue that the best engineers focus on themselves quite a bit--they just focus on improving themselves and their strengths and weaknesses instead of their relative ranking among others.
While that may be true for some, a number of highly effective people in various fields seem to have a sense of dissatisfaction that pushes them to do more. That sense can often apply to their own self-assessment.
I don't think anyone's immune to thinking about how they rate, but the best know they're good, so it's usually just a passing thought they spend very little time on.
You're a better *software engineer than you think. Fixed that for you. I expect PE's need less affirmation after passing rigorous apprenticeship and evaluation.