subcategories with same basename but different parents were not unique. Fixed now.
Merge pull request #143 from alistairmagee/subcategory

Sub-categories with same basename but different parents should be unique