Designing Social Patterns