Disentangling the importance of ecological niches from stochastic processes across scales | Synapse