Apple offers a rather limited range of laptops. Other manufacturers are attempting to offer a greater range of options for all consumers (and consider for companies like HP and Dell, their largest customers are corporations). The codes allow for easier differentiation in a given product line.
That said, Dell seems to have the sanest conventions, with HP/Compaq offer nothing more than product codes.