The 18O(d,p)19O reaction and the ANC method