On your first picture, the numbers were the rifle's serial number. On the last picture, it is the inspector's proof number and my guess is the exact same thing on the middle picture. But one thing is sure, when there is number under the magazine, it was related to the rifle's serial number. It was done to avoid mixing kit all together and/or to be able to yelled at the person who lost his magazine! ;-)
Martin