changing ID determination for GTF to be more performant