Literacy from a linguistic and a sociolinguistic perspective