Infectious ideas: modelling the diffusion of ideas across social networks