Cache result of isCaseSensitive() method to improve performance

I've seen a great performance improvement with this patch at work using SQL Server