I see no other way to set correct partition id without depending on disk label I'm working with.