Add getter methods for the id property of the logEntry entity and document

This changeset adds a getter for the id property of the logEntry entity and document.

Thx :)