uid parsing