Contextual determinacy in Leśniewski's grammar