Register
When context results in a commonly recognisable language variety to be produced, the resulting style is called a register (e.g. an informal register, a medical register, a scientific register). Context can be an effective way to categorise texts.