It’s preference as far as they both compile, though type *id; represents how the compiler parses the expression and is more readable in certain situations (which VTK is chock full of).
Meanwhile, type* id; …still compiles
I’ve honestly never heard a good reason to write it this way other than “it works too.”