Added option to specify attribute to define fid when importing

Feature type names are now not based on origin file/table names, but on destination tree name

this fixes #412 and #293