code: public static Supplier<UUID> getSingleIDSupplier(final Method m) throws IllegalArgumentException {
  	// Check only has one ID max
  	final EntityID[] entityIDs = m.getAnnotationsByType(EntityID.class);
  	if (entityIDs.length > 1) {
  	    throw new IllegalArgumentException("Cannot have more than one entity ID");
  	}
  
  	// Get and validate ID
  	Supplier<UUID> idSupplier = null;
  	if (entityIDs.length == 1) {
  	    idSupplier = toIDSupplier(entityIDs[0]);
  	}
  
  	return idSupplier;
      }
docs: Gets a single ID supplier from a method.
  
  @param m
  Method to check.
  @return The single ID supplier or {@code null} if none found.
  @throws IllegalArgumentException
  If there are multiple ID suppliers found.