Writes an XML EntityReference to the StaxWriter stream.
entityRef( name STRING )
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.