The "ia" thing is a carry over from Latin. It's the feminine ending for nations. I do not know Slavic, but I assume that the -ko suffix means something similar.