materialize
Materialize an RVSpec into the KSL random variable carrying its stream number — the single choke point for stream-number handling (CLAUDE.md §4.1). Reproducibility is the spec author's responsibility; the builder does no implicit stream assignment.
Return
the corresponding RVariableIfc
Parameters
spec
the random-variable description