Added getProductId() to the product interface (fixes #766)