Added support for identity retrieval using the MS SQL output clause on tables that have triggers.