In a style ID does the stuff after the comma matter?

Depending on what and with what you want to compare. If you’re referring to ID comparison between the deleted style and the style stored in a variable (from the discussion on your previous topic), then the value after the comma can be ignored.

That is, if you want to apply a remote style (imported from the library) to some object, then the value after the comma must be specified.