Shared purpose in some ways works better. It certainly can be fostered in the same ways that faith can. Sports works really well and "fringe" activities like birding bind people together really well. For example the solidarity among cyclists (the ones out and about in the countryside) here in Portugal is really strong. Pretty much everyone says hello and you can't stop on the side of the road or trail without everyone who passes asking if everything is ok.