completion: Almost complete rewrite to support setnames starting with - (hyphen).