The HD in the number are actually the name of the star that the planet orbits. Astronomers have massive databases of stars and each one gets a number, so the HD part helps them look up the stars location. The letter at the end tells you in what order the planet was discovered,so the first one gets a 'b', and then a 'c' and then on down the alphabet.
When a bunch of Exoplanets orbiting the same star are discovered all at once the closest one to they star will get a 'b' and then the next one out 'c' and so on. Now you might be wondering, why do the planets start with the letter 'b'? That's because astronomers use a capital 'A' to indicate the star in a solar system or the brightest star if there is more than one.So in a binary system the brighter star will get a capital 'A', the dimmer star will bet a capital 'B' and the first planet would get a lowercase 'b'.
Sometimes, stars with Exoplanets will be named after the mission or the project that discovers them. So planets found by the Kepler mission will start with the word 'Kepler' and planets that were found by the CoRot mission, will start with the word