Probing the mechanisms of fibril formation using lattice models.