Two horrific attacks in Sydney have sparked debate over what defines an ideologically motivated attack, and whether deliberately targeting women should count as an act of terror.