Put uid in first position and extract it.