A model of quark and lepton compositeness