Constance Marten posed as a freelance journalist called Caroline as she concealed her newborn baby, the Old Bailey has heard.