Added support for varying ID types (int/long) for repositories.
Merge pull request #29 from henszey/multipleprimitiverepo

Added support for varying ID types (int/long) for repositories.