Resource.name: change method name to avoid attribute name collision