added some methods to BeanUtils class for name resolving