While creating the table you can see a data type called Serial or BigSerial (Note that these two options will not be available when you modify a column thats already created. You can see these options only when you create a column in pgAdmin III)
In create table script you need to give the SQL command like this :-
"ID" serial NOT NULL