It's tied to PSN ID not your console ID. When I replaced my HDD I just had to reinstall and sign in again.