https://en.wikipedia.org/wiki/Praenomen
"The praenomen was a personal name chosen by the parents of a Roman child."
https://en.wikipedia.org/wiki/Nomen_(Roman_name)
"The nomen gentilicium (or simply nomen) was a hereditary name borne by the peoples of ancient Italy"
https://en.wikipedia.org/wiki/Cognomen
"Initially, it was a nickname, but lost that purpose when it became hereditary. Hereditary cognomina were used to augment the second name, the gens (the family name, or clan name), in order to identify a particular branch within a family"
https://en.wikipedia.org/wiki/Gaius_Julius_Caesar_(governor_...
But this is not a general feature of cognomina; compare https://en.wikipedia.org/wiki/Ovidia_gens#Members
Looking over some other articles, it looks like hereditary cognomina were an aristocratic feature. This has the funny side effect of more or less ensuring that aristocrats from the same family are very likely to have exactly the same name.
Huh? The cognomen is the individual part of a Roman name. Nothing "family" about it.