Judge rejects bid to block student ID ruling