Hierarchy, function, and the generalizability of leadership practices