A code of conduct for MPs and their staffers will be investigated as a parliamentary inquiry examines whether it is up to scratch.