code: public static String[] getResourcesId()
      {
          Set<String> ids = new HashSet<String>();
          for(Datatype datatype : miriam.getDatatype()) {
  			for (Resource resource : getResources(datatype)) {
  				ids.add(resource.getId());
  			}
          }
          return ids.toArray(new String[] {});
      }
docs: Retrieves the internal identifier (stable and perennial) of
  all the resources (for example: "MIR:00100008" (bind) ).
  
  @return list of the identifiers of all data types