Text this: Sociability and portraiture from William Hogarth to Thomas Lawrence