I went to a shop recently that had the 'small quartz' item, which I also had in my inventory but not identified.
Reading the info at the shop, I had full knowledge of the thing, but the item in my inventory remained unidentified.
I think if you see an object in a store that's identified, the identification of the object should stick with you and travel over to the item in your possession.