Fixes #19009
Add a simple check to throw an exception if an API call passes a string value for idSubtable
Includes a new test to asset that the exception is thrown when a string value is supplied and that no exception will be thrown for numeric values.