renamed isId to isRegexId and moved out of REST obj