For generations, the path to parenthood followed a familiar script: meet a partner, fall in love, marry and have children.