No, the ID is not unique. It might be unique in a particular database, where the software enforces such uniqueness, but that doesn't mean the ID unique. Anyone can make an exact copy of the ID, which will be undistinguishable from the original, or they can copy the entire database, any number of times, at a negligible cost. You can't do that with a physical object.