Title: Formal social structures and unwritten rules of behaviour in rural Thailand