Gender Composition, Stereotype and the Contribution of Ideas