[PLINK-611] - More flexible and rich API for Identity Type Queries.