Issue #770. The id of a Patient object should be accessible via an intuitive API function.

Adding missing getId() in classes that implement Patient interface indirectly.