Allow the same behavior to be registered multiple times
Only allow the id parameter for behaviors which accept it
Merge pull request #635 from K-Phoen/behavior

Allow behaviors to be applied more than once