Case insensitive id search

This ensures that external ID searches are case insensitive for Oracle