A person who aids and abets a crime shall be punishable on indictment or on summary conviction according as he or she would be punishable for committing that crime.