Support name capture in vectors.

Closes #17