An independent review will be launched into the workplaces of politicians and their staff, after an alleged rape at Parliament House in 2019.