an IDTracker written in swift.