Added documentation and fixed syntax error.

Added documentation and added closing bracket for getID() method.