Patronymic was used by illegitimate royal children who were acknowledged as such by their fathers. The use of "Mac" in some form was prevalent in Scottish Gaelic, Irish and Manx, in all of which it denotes "son". "Mc" is also a frequent anglicisation in both Scotland and Ireland. In Ireland, the forms "Mag" and "M'" are encountered. The prefix "Mac" is used to form a patronym, such as "Mac Coinnich" – or the anglicized 'Mackenzie' – son of Coinneach/Kenneth. The female equivalent of "Mac" is "Nic", condensed from "nighean mhic" (in Scottish Gaelic) or "iníon mhic" (in Irish), both meaning daughter.
Irish people used. While both "Mac" and "Ó'" prefixes are Gaelic in origin, "Mac" is more common in Scotland and in Ulster than in the rest of Ireland; furthermore, "Ó" is far less common in Scotland than it is in Ireland. The proper surname for a woman in Irish uses the feminine prefix nic (meaning daughter) in place of mac. Thus a boy may be called Mac Domhnaill whereas his sister would be called Nic Dhomhnaill or Ní Dhomhnaill – the insertion of 'h' follows the female prefix in the case of most consonants (bar H, L, N, R, & T). A