@Override
    public void setUniqueID(int id) {
        setHasUniqueID(true);
        uniqueID = id;
    }
Common implementation for Item classes implementing the TaggableItem interface.
Note that this file exist in 3 copies that should be kept in sync:

CompositeTaggableItem.java
SimpleTaggableItem.java
TaggableSegmentItem.java

These should only have trivial differences.
(multiple inheritance or mixins would have been nice).

@author arnej27959
container-search/src/main/java/com/yahoo/prelude/query/TaggableSegmentItem.java