IF you had left Qatar before they started issuing ID numbers then there will not be a problem.
But its better you keep your old passport details in hand with you.
You never know.