Use Counters for Activity and Entity id generation