Nonparametric identification and estimation of stochastic block models from many small networks