Add extractor to NamedColumnRef and use it.