Set sample from context when absent in workspace

Fix #385.

Signed-off-by: Don Naegely <naegelyd@gmail.com>
I recall the prior PRs handling a single ID vs. a list. Will the sample IDs be converted by this point? i.e Is this guaranteed to be a list?