Judge upholds ID fraud law