Allow :name as locator for any element. Closes #238.