how to identify terminals of transistor
In general, you can make a test jig with several types of sockets so as to allow the package types and pin configuations. One circuit will be required to measure beta for both BJT and FET. The pin configuration producing the largest beta will give you the pin definition. But, these days, some small portable testers have some schemes to measure the beta directly. As you know, most of the transistor manufacturers provide tha datasheet for their products on the internet.