Added a getPrimaryKey() function
Some netbeans settings