Fix usage of uniqid.