Ergativity fo nouns and case assignment