Attitude-Driven Decision Making For Multi-Agent Team Formation In Open And Dynamic Environments