add field-column dual mapping
change to select 1 while checking table existence
correct comments
change default type of returned id to Int64 to be CLSCompliant