Displaying proper error message for entities that don't have an IdProvid...

...er

When creating a Repository for a class that has no Id annotation this results in a NullPointerException. With this fix this issues a proper error message.