(For private and personal approached answers or if wishing to make it a personal thing only, see: The ways of leading (community) penalties? as a internal way for identification.)
Although very unpopular in modern world, to speak about and to make penalties public, proceeding it largely, has a huge impact and support when based on good rules.
Usually "misdoer" are derived from any larger front of sharing views before, while and after a punished deed.
As it is usual in each and every community as well, to set penalties and punishments, like to suspend someone, censure, send to the beginning, ... , it would be possible good if reflecting on some point:
There is a clear proces.
A defined group of elders, defined participator (not only those direct involved).
A chance for "public" (or within the committee of "elders") statement, confession and/or rejecting by the accused.
An information for others to know about the case: not only to be informed, but also to learn, if right, to avoid similar deeds.
Place for reflections, cross-questioning and answers in regard of this "opinion" might be given here with it.
How can, or are, Dhamma-Vinaya ("Buddhist" tradition) good adopted also outward a formal bondage to a code of conduct?
[This gift of Dhamma, not for commercial purpose, trade, stakes or exchange for gains of ordinary wordily gain, which should be deleted in the case the place and owner does not allow or give such dedication]