There is no “work for hire” doctrine in trade secret law or patent law. Without a contrary agreement or assignment, the law ordinarily assigns ownership …