You're right, of course. Alkali. (I've been tending to make that misspelling for decades now!) And yes, the alkalis are basic as opposed to acids which are acidic.

I still want "lye" to have been named for alkali...it would be so right.