return factor ids in stat