Move TimeObject id stuff to static method