fix __id__ property determine method