When a nurse assesses prior self-harm behavior, this can provide information about the motivation behind the client's actions and allows the nurse to do what?