use valid php varnames

not only path segments should be usable as vars in urls
this accepts all valid php varnames according to http://www.php.net/manual/en/language.variables.basics.php