Natives don't have to memorize the complex rules and endings for different declensions. We use them intuitively. If we want to know which case we have used, we, effectively, replace the noun by "кто"...