Reporting API idSubtable not static

I’m trying to use the reporting API to create a simple report for event actions and names for a single event category. I’m trying to use the Events.getActionFromCategoryId method, but I’m finding that the idSubtable parameter for my categories changes from day to day. Today, the id for my “Search” category is 3, but two days ago it was 1.

FTR I’m retrieving the categories via idsubdatatable returned by the Events.getCategory method.

Can anyone provide any guidance on this?

I wonder if the idSubtable values are created on the fly based on the text column after date filters are applied.