Reputation and Competition in a Hidden Action Model