Lotteries in communities of sessile organisms