Don't rely on iskeyword to determine namespace

Workaround for #24 and #25.