Feature request: uid assignment for imported particles

@sunch Would this general approach work in your case?