Behaviour of mobile ions near a charged cylindrical surface: application to linear polyelectrolytes