The illegitimate son of the Irish-born former viceroy of Peru, who struggled to win the recognition denied him by his father, Bernardo O'Higgins emerges as the great military hero of Chilean independence.