Inside the Music folder (inside your home directory), there are two files you might want to back up first:
iTunes Music Library.xml
iTunes Library
If reinstalling iTunes messes up your playlists -- which it should not -- you can still use the backup files.