Number 8 hat

I've recently been reading some 1950's Motor Cycling magazines and a few times I have come across the expression "Number 8 hat" meaning intelligent person. Any idea as to the origin.

Replies