NY case provides lessons on changing domicile