When defining an assembly constraint, cannot select objects Name.
SolutionAdd the "Name Selection" option to the Selection bar and it will allow you to select by name when adding constraints.
Go to Menu --> Tools --> Customize and search for 'Name', then drag and drop the Name Selection option to the Selection bar.