A clarification to this bug:
On the last update we changed how the system evaluates if you are allowed to rest in the clothes/armor you are wearing.
I think this bug is related to that change. When ever you try to rest in an armor that does not allow resting, the armor becomes unidentified when you unequipp it.
So please, do not try to rest in heavy armors or they will become unidentified.