Overhaul newTheme() method and allow to duplicate titles (but not identifiers)