Stochastic dynamics for idiotypic immune networks