You have to reserve the UID if you want to control it. AFAIK, I am not aware of any other procedure to consistently set UID.