Rising numbers of children are being officially labelled as vulnerable before they are even born.