How is a person's bail amount decided?