add getBean util method
add @HasValue for name, add isSameName convenience comparison method