assem: use hash for name dictionary