ruling may have bearing on Aadhaar