Hmmm.... I did read those docs, but did not pay much attention to the finer details :-) Blame my laziness for that ;-) Thanks for leading me to the docs. This is what we are talking about, right (Just to make sure i read the right configurations) : 
Code:
<!-- table allows you to override/define how reverse engineering 
     are done for a specific table -->
<table name="ORDERS"> 
 <primary-key>
   <!-- setting up a specific id generator for a table -->
  <generator class="sequence">
    <param name="table">seq_table</param>
  </generator>
   <column name="CUSTID"/>
 </primary-key>
 <column name="NAME" property="orderName" type="string" />
 <!-- control many-to-one and set names for a specific named foreign key constraint -->
 <foreign-key constraint-name="ORDER_CUST">
   <many-to-one property="customer"/>
   <set property="orders"/>
 </foreign-key>
</table>
I will have to specify the id columns using the <primary-key> element above, isn't it?