The president has been consistent on trade for decades, unlike on other issues, both in tone and substance. Longtime acquaintances say his philosophy came out of his experience in the cutthroat world of New York real estate and the rise of Japan as a global economic power.