Yes and with pragmatism you get Realpolitik, which may be a decent position to maximize some goals but can have nasty results as well if you're not careful. I dont think its possible to get away from this problem, all we can do is be aware of it as a problem and avoid the pitfalls.
Careful there. Liberalism, for example, is an ideology. And as far as the meaning of that word can be formalized, pragmatism fits too.