Typically you are already registered with a specific party affiliation (so you can participate in primaries) and this information is often available online. It's not a big deal.
It is a big deal in that it psychologically reinforces the mindset that you should be aligned with a party. Instead of voting for a candidate on the basis of their policies and merit.