Top court gives states 6 weeks on shop-ID plea