Patronymics were in use until well into the 19th century in the far west of the north of Wales, i.e. Aberdaron. I would say personal preference or local custom. If lots of people with the same forename, a person might take their father's forename or second name to differentiate them from another. It was never a rule at this time, it was just the name they were known by.
Ray