product id parsing