[PLINK-611] - More flexible and rich API for Identity Type Queries.
Merge pull request #418 from pedroigor/PLINK-611

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