Assign controller ID