[awegen] refactored getPrimaryKey to getPrimaryKeyColumn