A Broad Dynamical Model for Pattern Formation by Lateral Inhibition