Split PTS instance lookup out of PTS.Options

We're going to need this code to implement "language foo;".