Add className and id method for Php::Value.