added unique() method to create unique names and filenames for a DB table