Prioritize name lookup before ID lookup to reduce confusion
Addresses #8069

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Merge branch '8069-prioritize-name-lookup' of github.com:estesp/docker into 8069-prioritize-name-lookup

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>