Grabbing capsule id by peewee_capsule.get_id()

This is a better way to get the capsule id than the save capsule to db
call.