PERF: use names/kinds for dtype inference on known types