How about none of the above. HID's do not use a standard type of bulb. Your typical halogen uses a filament surrounded by a mixture of primarily xenon gas. HID's do not use a filament. It works more like a spark plug where a spark jumps across 2 electrodes and is sustained. This spark is used to heat up a mixture of gasses inside the bulb to provide the lighting. Unfortunately, you can't just pop a bulb like this into a bulb socket designed for a halogen. Even if you got it to phyisically fit, you'ld never get the thing to ever turn on with the electrical circuitry designed for a halogen bulb. HID's use a ballast that works similarly to an ignition coil at start up to provide enough voltage to cause electricty to jump across the electrodes. And then it provides a constant stream of current to keep the electricity going. Once ignited, the HID will operate at a lower wattage than a halogen of similar brightness, but the initial voltage is very high. And another thing to be concerned with is placement of the arc of the HID bulb. It may not be in the same orientation or location of the filiment of the bulb normally used in the intended aplication. The lens and housing of a lighting system is specifically designed for use with a specific type of bulb. Screwing this up can make lighting worse, possibly causing a scattered beam and blinding others on the road.
There are kits out there that are designed to be used in place of a standard halogen bulb. While these aren't stret legal, they will get the job done. I'd find one of these kits rather than trying to adapt an existing HID system to work with whatever application you intend. Make sure you pick a high quality kit. Especially in regards to the ballasts they use. I hear Phillips and Sylvania are the better ballast brands.
Here is an example of a HID retrofit kit:
http://www.proxenon.com/view_p..._id=1
Though, I do not know how good the ballasts on this kit are. But this is just to show you what is out there.