Added auto ids for upgrades.

Will be used as a key for a hashmap containing the upgrade level so we can save upgrades.
A separate id system (tags) will be used for upgrades which require other upgrades.