Handle function calls to integers in model lexer correctly

closes #15877