The collisions are detected for "moving objects". So if you can guarantee that the bullets are always moving, then there will be always a collision for the bullets with the balls.
then you can retrieve the ball you have collided with entitycollided.
then you can retrieve the ball you have collided with entitycollided.