Automatic level detection by name

Converts Level-1  =>  id 0, Level-2  =>  id 1, etc.