Added Primary Key getID generation for a one-to-one mapping.