A few style changes, autopep, and adding a get_patient_id function

Added get_patient_id, and ran autopep8 for some style/spacing changes (as well as some manual ones)