During the Middle Ages, the feudal system meant that most people in Europe lived in small farming villages. As the population expanded and the towns grew, however, a need arose to find ways to differentiate between two people who shared the same first name.