A theory of good city form