Adding setIdentifier method to Cart