The Social Origins and IQ of Inventors