[stateless] WICKET-5400 Behaviors#internalAdd(Behavior) erroneously gets id for stateless behaviors

Explicitly get an id for the stateless behavior
[core] Build against 6.13.0-SNAPSHOT