esql_model: Using 'priv' name for private data inside of functions to match other implementations of Emodel.