Trieste, 1830-70: From Cosmopolitanism to the Nation