Added initial support for automatically fetching the auto-generated ID
from the database and setting it to the Object that was just inserted to
the database.