Title: Social hierarchy in a northern Portuguese hamlet, 1870-1978