I realise it is a truism - but this reminds me of the doctor? in the original Stepford Wives, telling the Katharine Ross character that different communities attract different types of people for different reasons, some more obvious than others, as in tribal culture.
Not all people recognise this about their own town, however.
Hebden Bridge
St Ives
Blackpool
Chichester
Newmarket
Margate
Brighton is extreme though isn‘t it, a microcosm, yet a few miles either way, respectable, sedate towns and villages, away from the petrie dish of Brighton.