For the purpose of indemnifying the county against charges for the maintenance of illegitimate children, the father, if the father can be ascertained, is liable to proceedings as provided in title 36, chapter 2.