Custom logic in the presence of naming conventions

HashableReference's default constraint name is ignored if a naming convention
has been established.