def primary_key(name='id'):
 return field(name, INTEGER, index=PRIMARY, optional=False)

def primary_key ( name = 'id' ) : return field ( name , INTEGER , index = PRIMARY , optional = False )
returns an auto-incremented integer primary key field named "id" .